package com.ai.module.chat.common.enu;

import org.junit.platform.commons.util.StringUtils;

import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import java.util.stream.Collectors;

public class AliyunImage {
    public static void main(String[] args) {
        String msg= "pornographic_adultContent\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "疑似含有成人色情内容。\n" +
                "\n" +
                "pornographic_adultToys\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面中疑似含有成人器具内容。\n" +
                "\n" +
                "pornographic_artwork\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面中疑似含有艺术品色情内容。\n" +
                "\n" +
                "pornographic_adultContent_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图片中文字疑似色情内容。\n" +
                "\n" +
                "sexual_suggestiveContent\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似低俗或性暗示内容。\n" +
                "\n" +
                "sexual_breastBump\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有凸点轮廓内容。\n" +
                "\n" +
                "sexual_cleavage\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有女性乳沟特征。\n" +
                "\n" +
                "sexual_femaleUnderwear\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有内衣泳衣内容。\n" +
                "\n" +
                "sexual_femaleShoulder\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有肩部性感内容。\n" +
                "\n" +
                "sexual_femaleLeg\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有腿部性感内容。\n" +
                "\n" +
                "sexual_maleTopless\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有男性赤膊内容。\n" +
                "\n" +
                "sexual_cartoon\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有卡通性感内容。\n" +
                "\n" +
                "sexual_pregnancy\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有孕照哺乳内容。\n" +
                "\n" +
                "sexual_underage\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有儿童性感内容。\n" +
                "\n" +
                "political_historicalNihility\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似涉及虚无历史或不宜传播的历史事件。\n" +
                "\n" +
                "political_historicalNihility_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字疑似历史虚无。\n" +
                "\n" +
                "political_politicalFigure_1\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含现任历任领导人。\n" +
                "\n" +
                "political_politicalFigure_2\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似涉及领导人家属。\n" +
                "\n" +
                "political_politicalFigure_3\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似涉及省、市政府人员。\n" +
                "\n" +
                "political_politicalFigure_4\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似涉及国外领导人及家属。\n" +
                "\n" +
                "political_politicalFigure_name_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字含领导人姓名。\n" +
                "\n" +
                "political_politicalFigure_metaphor_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字疑似含有对主要领导人的代称、暗喻。\n" +
                "\n" +
                "political_prohibitedPerson_1\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有国家级落马官员。\n" +
                "\n" +
                "political_prohibitedPerson_2\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有省市级落马官员。\n" +
                "\n" +
                "political_taintedCelebrity\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含劣迹或重大负面的公众人物。\n" +
                "\n" +
                "political_taintedCelebrity_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字疑似有劣迹艺人的姓名。\n" +
                "\n" +
                "political_Chinaflag\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有中国国旗。\n" +
                "\n" +
                "political_otherflag\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有其他国家国旗。\n" +
                "\n" +
                "political_Chinamap\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有中国地图。\n" +
                "\n" +
                "political_logo\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有禁宣媒体标识。\n" +
                "\n" +
                "political_outfit\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有军警服装、作战部队服装。\n" +
                "\n" +
                "political_medicalOutfit\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有医护服饰。\n" +
                "\n" +
                "political_badge\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有国徽、党徽。\n" +
                "\n" +
                "political_racism_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字疑似含有特殊的表达。更多信息，请参见内容安全控制台。\n" +
                "\n" +
                "violent_explosion\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有烟火类内容元素。\n" +
                "\n" +
                "violent_burning\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有燃烧类内容元素。\n" +
                "\n" +
                "violent_armedForces\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含暴恐组织。\n" +
                "\n" +
                "violent_crowding\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似有人群聚集。\n" +
                "\n" +
                "violent_gun\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含枪支。\n" +
                "\n" +
                "violent_Knives\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含刀具。\n" +
                "\n" +
                "violent_gunKnives_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字含枪支刀具的描述。\n" +
                "\n" +
                "violent_blood\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有血腥内容。\n" +
                "\n" +
                "violent_horrific\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含惊悚内容。\n" +
                "\n" +
                "violent_horrific_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字疑似描述暴力、恐怖的内容。\n" +
                "\n" +
                "contraband_drug\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似毒品、药品。\n" +
                "\n" +
                "contraband_drug_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字疑似描述违禁毒品。\n" +
                "\n" +
                "contraband_gamble\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似赌博物品。\n" +
                "\n" +
                "contraband_gamble_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字疑似描述赌博行为。\n" +
                "\n" +
                "contraband_certificate_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字疑似含办证套现类广告引流。\n" +
                "\n" +
                "religion_funeral\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含有葬礼灵堂内容。\n" +
                "\n" +
                "religion_buddhism\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "疑似含有特定服饰或标识。更多信息，请参见内容安全控制台。\n" +
                "\n" +
                "religion_christianity\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "religion_muslim\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "religion_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "racism_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "PDA_kiss\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含亲吻内容。\n" +
                "\n" +
                "PDA_physicalContact\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含亲密行为。\n" +
                "\n" +
                "object_landmark\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含国内地标内容。\n" +
                "\n" +
                "object_rmb\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含人民币、硬币。\n" +
                "\n" +
                "object_foreignCurrency\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含外国货币。\n" +
                "\n" +
                "object_wn\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含特定形象。\n" +
                "\n" +
                "object_carcrash\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含车祸内容。\n" +
                "\n" +
                "object_candle\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含蜡烛内容。\n" +
                "\n" +
                "object_flood\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含自然灾害内容。\n" +
                "\n" +
                "pt_logotoSocialNetwork\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面中含有常见网络社交平台水印。\n" +
                "\n" +
                "pt_qrCode\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中包含二维码。\n" +
                "\n" +
                "pt_programCode\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中包含小程序码。\n" +
                "\n" +
                "pt_toDirectContact_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字疑似含有特定引流信息。更多信息，请参见内容安全控制台。\n" +
                "\n" +
                "pt_toSocialNetwork_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "pt_toShortVideos_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "pt_investment_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "pt_recruitment_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "pt_certificate_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "inappropriate_smoking\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含烟相关内容。\n" +
                "\n" +
                "inappropriate_drinking\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含酒相关内容。\n" +
                "\n" +
                "inappropriate_tattoo\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含纹身内容。\n" +
                "\n" +
                "inappropriate_middleFinger\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含竖中指内容。\n" +
                "\n" +
                "inappropriate_foodWasting\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含浪费粮食内容。\n" +
                "\n" +
                "quality_meaningless\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图片元素过少。\n" +
                "\n" +
                "logo_brand\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似包含商标内容。\n" +
                "\n" +
                "profanity_oral_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字含不文明低俗口头语。\n" +
                "\n" +
                "profanity_offensive_tii\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "图中文字含严重辱骂内容。\n" +
                "\n" +
                "meme_vulgar\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含低俗表情包。\n" +
                "\n" +
                "meme_metaphor\n" +
                "\n" +
                "0~100分，分数越高置信度越高\n" +
                "\n" +
                "画面疑似含隐喻表情包。";
        String[] split = msg.split("\n");
        List<String> list = Arrays.stream(split).filter(StringUtils::isNotBlank).collect(Collectors.toList());
        StringBuilder sb = new StringBuilder();
        for (int num = 0; num < list.size(); num++) {
            String str = list.get(num);
            if (num%3==0){

                String upperCase = str.toUpperCase(Locale.ROOT);
                sb.append(upperCase+"("+"\""+str+"\""+",");
                continue;
            }
            if (!str.contains("0")){

                sb.append("\""+str+"\""+"),");
                continue;
            }

        }
        String string = sb.toString();
        for (String s : string.split(",")) {
            System.out.println(s+",");
        }
    }
}
